<?php
/* @var $this MemberController */
/* @var $model Member */
/* @var $form CActiveForm */
?>

<div class="wide form">

    <?php
    $form = $this->beginWidget('CActiveForm', array(
        'action' => Yii::app()->createUrl($this->route),
        'method' => 'get',
    ));
    ?>

    <div class="row">
        <?php echo $form->label($model, 'member_id'); ?>
        <?php echo $form->textField($model, 'member_id', array('size' => 10, 'maxlength' => 10)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'first_name'); ?>
        <?php echo $form->textField($model, 'first_name', array('size' => 60, 'maxlength' => 255)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'last_name'); ?>
        <?php echo $form->textField($model, 'last_name', array('size' => 60, 'maxlength' => 255)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'email'); ?>
        <?php echo $form->textField($model, 'email', array('size' => 60, 'maxlength' => 255)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'username'); ?>
        <?php echo $form->textField($model, 'username', array('size' => 60, 'maxlength' => 255)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'security_question_id'); ?>
        <?php echo $form->textField($model, 'security_question_id', array('size' => 10, 'maxlength' => 10)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'security_answer'); ?>
        <?php echo $form->textField($model, 'security_answer', array('size' => 60, 'maxlength' => 255)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'security_code'); ?>
        <?php echo $form->textField($model, 'security_code', array('size' => 60, 'maxlength' => 255)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'upline_id'); ?>
        <?php echo $form->textField($model, 'upline_id', array('size' => 60, 'maxlength' => 255)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'agree_to_tos'); ?>
        <?php echo $form->textField($model, 'agree_to_tos', array('size' => 1, 'maxlength' => 1)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'create_date'); ?>
        <?php echo $form->textField($model, 'create_date'); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'create_by'); ?>
        <?php echo $form->textField($model, 'create_by', array('size' => 10, 'maxlength' => 10)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'update_date'); ?>
        <?php echo $form->textField($model, 'update_date'); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'update_by'); ?>
        <?php echo $form->textField($model, 'update_by', array('size' => 10, 'maxlength' => 10)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'status'); ?>
        <?php echo $form->textField($model, 'status', array('size' => 45, 'maxlength' => 45)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'active'); ?>
        <?php echo $form->textField($model, 'active', array('size' => 1, 'maxlength' => 1)); ?>
    </div>
    <div class="row agree">
        <?php echo $form->labelEx($model, 'forex_user'); ?>
        <?php echo $form->checkBox($model, 'forex_user', array('size' => 1, 'maxlength' => 1)); ?>        
    </div>

    <div class="row buttons">
        <?php echo CHtml::submitButton('Search'); ?>
    </div>

    <?php $this->endWidget(); ?>

</div><!-- search-form -->